package Test1;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.awt.*;
import java.lang.*;
import java.applet.*;
import java.awt.event.*;
import javax.swing.*;

public class OptionWindow extends JFrame implements ActionListener {
JButton btnexit = new JButton("Logout");
JButton b1 = new JButton("Customer Profile");
JButton b2 = new JButton("Flight Information");
JButton b3 = new JButton("Reservation");

    public OptionWindow() {
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setSize(400,400);
    java.awt.Container contents = getContentPane();
    contents.setLayout(null);
    setTitle("Air-Malaysia");
    contents.setLayout(null );
    contents.setBackground(Color.black);
    contents.setForeground(Color.orange);
     b1.setBackground(Color.black);
     b1.setForeground(Color.orange);
     b2.setBackground(Color.black);
     b2.setForeground(Color.orange);
     b3.setBackground(Color.black);
     b3.setForeground(Color.orange);
     btnexit.setBackground(Color.red);
     btnexit.setForeground(Color.white);

        btnexit.setLocation(280,0);
        btnexit.setSize(80,25);
        add(btnexit);
         
        b1.setLocation(110,170);
    	b1.setSize(170,25);
    	add(b1);

        b2.setLocation(110,220);
    	b2.setSize(170,25);
    	add(b2);

        b3.setLocation(110,270);
    	b3.setSize(170,25);
    	add(b3);
    }

    public void actionPerformed(ActionEvent e){
}
     public static void main(String[] args) {
         new OptionWindow();
 }// TODO overwrite start(), stop() and destroy() methods
}